utools.onPluginEnter(({code, type, payload}) => {
  // let currentKeyStr = "歪比吧卜";
  /*let encryptKeyList = vm._data.encryptKeyList;
  for (let i = 0; i < encryptKeyList.length; i++) {
    let reg = new RegExp("^(" + encryptKeyList[i].split("").join("|") + ")+$", "g");
    new RegExp("^([" + encryptKeyList[i].substring(0, encryptKeyList[i].length - 1) + "]+" + encryptKeyList[i].substring(encryptKeyList[i].length - 1) + ")+$", "g");
    if (reg.test(payload)) {
      currentKeyStr = encryptKeyList[i];
      break;
    }
  }*/
  // vm._data.currentKeyStr = currentKeyStr;
  // vm.format();
  vm._data.input = payload;
  vm._data.output = "";
  vm.tran();
})
